.px2rem(@name, @px) {
    @{name}: @px / 75 * 1rem;
}

.font-dpr(@font-size) {
    font-size: @font-size;
    [data-dpr="2"] & {
        font-size: @font-size * 2;
    }
    [data-dpr="3"] & {
        font-size: @font-size * 3;
    }
}

.hdr {
    .px2rem(height, 90);
    position: fixed;
    z-index: 99;
    right: 0;
    left: 0;
    top: 0;
    background-color: #ff5793;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    .back {
        .px2rem(font-size, 45);
        flex: 1;
        .px2rem(line-height, 90);
        text-align: center;
    .px2rem(height,90);
    background-color: #ff5793;
    display: flex;
    justify-content: space-between;
    align-items: center;
    i{
        .px2rem(width,90);
        .px2rem(height,90);
        .px2rem(line-height,90);
        text-align: center;
        .px2rem(font-size,40);
        color: #ffffff;
    }
    }
    .title {
        flex: 6;
        text-align: center;
    }
    .menu {
        flex: 1;
        height: 100%;
        width: 100%;
        line-height: 100%;
    }

}

    
.ftr{
    z-index: 99;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    .px2rem(height,120);
    width: 100%;
    background-color: #ffffff;
    display: flex;
    position: fixed;
    dl {
        width: 20%;
        height: 100%;
        float: left;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        dt img {
            display: block;
            .px2rem(height, 50);
        }
        dd {
            .font-dpr(10px);
            line-height: 100%;
            color: #333;
        }
        &.camera {
            transform: translateY(-13%);
            dt img {
                .px2rem(height, 120);
            }
        }
    }
}

